<template>
  <view class="liveness-wrap">
    <web-view src="/hybrid/html/local.html" @message="getMessage"></web-view>
  </view>
</template>

<script>
import { mapGetters } from 'vuex'

export default {
  name: 'liveness',
  data () {
    return {
      passed: false
    }
  },
  computed: {
  },
  methods: {
    getMessage(event) {
      // 当webview返回时, 把认证结果传出来
      // this.passed = event.detail.data.passed
      // this.$store.commit('SET_LIVENESS_STATUS', this.passed)
    }
  }
}
</script>

<style lang="less">

</style>
